package com.etc.springbootmqconsumer;

import com.etc.springbootmqconsumer.netty.NioWebSocketServer;
import com.etc.springbootmqconsumer.utlis.SpringContextUtils;
import io.netty.channel.ChannelFuture;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@Slf4j
@SpringBootApplication
public class SpringbootmqConsumerApplication   {
//public class SpringbootmqConsumerApplication  implements CommandLineRunner {



    public static void main(String[] args) {
        SpringApplication.run(SpringbootmqConsumerApplication.class, args);
        NioWebSocketServer beanByClass = new NioWebSocketServer();
        beanByClass.init();
        log.error("******************** 消费者 SUCCESS *************");
    }



}
